package com.niit.session12;

public class Teacher extends Person{

	public Teacher() {
		super();
	}

	public Teacher(String name, int age) {
		super(name, age);
	}
	@Override
	public void show() {
		System.out.println("老师信息：名字"+getName()+",年龄"+getAge());
	}
	

}
